package com.jmp.api.crm.dto;

import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author cjr
 */
@Data
@Builder
public class GoodsEditResponse {
    private String goodsName;
    private String goodsTypeName;
    private Integer goodstypeId;
    private String coverImg;
    private String videoUrl;
    private List<String> goodPhoto;
    private String goodsDetails;
    private String goodsDetailsMemo;
    private List<String> goodsDetailsImgs;
    private Integer showPrice;
    private String wholesaleInfo;
    private BigDecimal wholesalePrice;//批发价
    private BigDecimal retailPrice;//零售价
    private String contactInfo;
    private Integer ispayment;

    private List<Spec> goodSpecModelList;

    @Data
    @Builder
    public static class Spec {
        private Integer specId;
        private String specName;
        private String specAttribute;
        private Integer specNum;
        private BigDecimal price;
        private BigDecimal priceBatch;
        private List<Spec> goodSpecModelList;
    }
}
